/**
 * Created by manerfan on 2017/1/17.
 */

/**
 * 头像布局
 * rate: 每个头像相对于输出尺寸的倍率
 * layout: 布局
 */
module.exports = [
    {
        rate: 1,
        layout: [
            {x: 0, y: 0}
        ]
    },
    {
        rate: 2,
        layout: [
            {x: 0, y: 0.25}, {x: 0.5, y: 0.25}
        ]
    },
    {
        rate: 2,
        layout: [
            {x: 0.25, y: 0},
            {x: 0, y: 0.5}, {x: 0.5, y: 0.5}
        ]
    },
    {
        rate: 2,
        layout: [
            {x: 0, y: 0}, {x: 0.5, y: 0},
            {x: 0, y: 0.5}, {x: 0.5, y: 0.5}
        ]
    },
    {
        rate: 3,
        layout: [
            {x: 0.17, y: 0.15}, {x: 0.5, y: 0.15},
            {x: 0.01, y: 0.55}, {x: 0.34, y: 0.55}, {x: 0.66, y: 0.55}
        ]
    },
    {
        rate: 3,
        layout: [
            {x: 0.01, y: 0.15}, {x: 0.34, y: 0.15}, {x: 0.66, y: 0.15},
            {x: 0.01, y: 0.55}, {x: 0.34, y: 0.55}, {x: 0.66, y: 0.55}
        ]
    },
    {
        rate: 3,
        layout: [
            {x: 0.34, y: 0.01},
            {x: 0.01, y: 0.34}, {x: 0.34, y: 0.34}, {x: 0.66, y: 0.34},
            {x: 0.01, y: 0.66}, {x: 0.34, y: 0.66}, {x: 0.66, y: 0.66}
        ]
    },
    {
        rate: 3,
        layout: [
            {x: 0.17, y: 0.01}, {x: 0.5, y: 0.01},
            {x: 0.01, y: 0.34}, {x: 0.34, y: 0.34}, {x: 0.66, y: 0.34},
            {x: 0.01, y: 0.66}, {x: 0.34, y: 0.66}, {x: 0.66, y: 0.66}
        ]
    },
    {
        rate: 3,
        layout: [
            {x: 0.01, y: 0.01}, {x: 0.34, y: 0.01}, {x: 0.66, y: 0.01},
            {x: 0.01, y: 0.34}, {x: 0.34, y: 0.34}, {x: 0.66, y: 0.34},
            {x: 0.01, y: 0.66}, {x: 0.34, y: 0.66}, {x: 0.66, y: 0.66}
        ]
    }
];